package com.paco.study.cloud.code;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.server.ErrorPage;
import org.springframework.boot.web.server.ErrorPageRegistrar;
import org.springframework.boot.web.server.ErrorPageRegistry;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.http.HttpStatus;

@EntityScan("com.paco.study.cloud.code.model")
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
public class CodeApp {

    public static void main(String[] args) {
        SpringApplication.run(CodeApp.class, args);
    }

}
